<!-- upload.html -->
<!DOCTYPE html>
<html>
<head>
    <title>Upload Excel File</title>
</head>
<body>
   {% if pljb %}
        <h1>批量进班 班级id：{{ pljb }}</h1>
       {% else %}
       <h1>Upload Excel File</h1>
        {% endif %}
    <form method="post" enctype="multipart/form-data">

        {% csrf_token %}
        {{ form.as_p }}

        {% if pljb %}
        <input type="hidden" name="pljb" value="{{ pljb }} ">
        {% endif %}
        <button type="submit">提交</button>
    </form>


</body>
</html>